//
// Created by bleedingfight on 2020/6/28.
//

#ifndef DATASTRUCTAND_ALG_MYQUEUE_H
#define DATASTRUCTAND_ALG_MYQUEUE_H
#include <stack>
class MyQueue{
public:
    std::stack<int> head_stack;
    std::stack<int> tail_stack;
    void push(int x);
    int pop();
    int peek();
    bool empty();
};
#endif //DATASTRUCTAND_ALG_MYQUEUE_H
